import React from 'react';
import { connect } from 'react-redux';
import { View, Button, Image } from '@tarojs/components';
import utils from '@/utils';
import imgReult from '@/orderSubPack/images/digitalCard/bind-success.png';

import '../style.scss';

const Index = ({ dispatch }) => {
  const carryOut = () => {
    utils.goMePage(dispatch);
  };
  return (
    <View className="reulst-view">
      <Image className="img-reult" src={imgReult} />
      <View className="result-text">数币卡绑定成功</View>
      <View className="btn-view">
        <Button className="btn-yellow" onClick={carryOut}>
          完成
        </Button>
      </View>
    </View>
  );
};
export default connect(({}) => ({}))(Index);
